﻿using AuthTemplate.DTO.Module;
using AuthTemplate.Entity;
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AuthTemplate.Infrastructure.AutoMapper.Profiles
{
    public class ModuleProfile : Profile
    {
        public ModuleProfile()
        {
            CreateMap<EditModuleInput, Module>()
                .ReverseMap();      //ReverseMap双向映射
            CreateMap<AddModuleInput, Module>()
                .ReverseMap();      //ReverseMap双向映射
        }

    }
}
